using System;
using System.Collections.Generic;
using Triton.Game;
using Triton.Game.Mono;

namespace ns26
{
	internal class Class255<T, U> : MonoClass where T : class where U : class
	{
		public int Int32_0 => method_11<int>("get_Count", Array.Empty<object>());

		internal Class255(IntPtr address)
			: base(TritonHs.MainAssemblyDir + "\\mscorlib.dll", "System.Collections.Generic", "Dictionary<" + typeof(T).FullName + ", " + typeof(U).FullName + ">")
		{
			base.Address = address;
			base.UInt32_0 = MonoClass.Class276_0.method_10(address, bool_0: true);
		}

		private Class264<T, U> method_24()
		{
			return method_14<Class264<T, U>>(Class275.string_0, Array.Empty<object>());
		}

		public Dictionary<T, U> method_25()
		{
			Dictionary<T, U> dictionary = new Dictionary<T, U>();
			Class264<T, U> @class = method_24();
			while (@class.method_26())
			{
				dictionary.Add(@class.Prop_0, @class.Prop_1);
			}
			@class.method_24();
			return dictionary;
		}
	}
}
